package com.ssy.lingxi.after.sale.model.vo.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 商品分页VO
 * @author 伍将
 * @date 2020/12/8
 * @version 2.0.0
 */
public class CommodityPageVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -7893671246303868510L;

    /**
     * 售后id
     */
    @NotNull(message = "售后id要大于0")
    @Positive(message = "售后id要大于0")
    private Long dataId;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 品类
     */
    private String category;

    /**
     * 品牌
     */
    private String brand;

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }
}
